'use strict'

module.exports = ({ router, controller, middlewares }) => {
    const NAMESPACE = '/wechat_mina'
    const subRouter = router.namespace(NAMESPACE)
    
    const { index } = controller.wechatMina

    subRouter.post('/uploadimage', index.UploadImage)
    subRouter.post('/findcity', index.FindCity)
    subRouter.post('/viewcity', index.ViewCity)
}